import {Component} from 'react';
import WithRoute from '../router/withRoute';
class Info extends Component{
    render(){
        let {id} = this.props.router.location.state;
        return(
            <div>
                <h1>商品详情----{id}</h1>
           
            </div>
        )
    }
}
export default WithRoute(Info);